/**
 * 项目类型
 */
export type ProjectType = 'novel' | 'short_story' | 'screenplay' | 'other';

/**
 * 项目状态
 */
export type ProjectStatus = 'draft' | 'in_progress' | 'completed' | 'archived';

/**
 * 项目模型
 */
export interface Project {
  id: string;
  createdAt: string;
  updatedAt: string;
  title: string;
  description: string;
  type: ProjectType;
  status: ProjectStatus;
  coverImage?: string;
  tags: string[];
  wordCount: number;
}

/**
 * 创建项目参数
 */
export interface CreateProjectParams {
  title: string;
  description: string;
  type: ProjectType;
  tags?: string[];
  coverImage?: string;
}

/**
 * 更新项目参数
 */
export interface UpdateProjectParams {
  title?: string;
  description?: string;
  type?: ProjectType;
  status?: ProjectStatus;
  tags?: string[];
  coverImage?: string;
} 